//
//  YCMessage1TableViewCell.m
//  lianganyuchu
//
//  Created by iMac on 17/2/24.
//  Copyright © 2017年 杭州桑缇电子商务有限公司. All rights reserved.
//

#import "YCMessage1TableViewCell.h"

@implementation YCMessage1TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.backView addShadowWith:CGSizeMake(kMainScreen_Width-2*kDistance, 140)];
    
    [self.label1 setFont:[UIFont LightFontOfSize:14]];
    [self.label1 setTextColor:TEXT_LIGHT];
    [self.label2 setFont:[UIFont LightFontOfSize:16]];
    [self.label2 setTextColor:TEXT_DEEP];
    [self.label3 setFont:[UIFont LightFontOfSize:16]];
    [self.label3 setTextColor:TEXT_DEEP];
    
    [self.labTitle setFont:[UIFont LightFontOfSize:15]];
    [self.labTitle setTextColor:TEXT_MIDDLE];
    [self.labDesc setFont:[UIFont LightFontOfSize:15]];
    [self.labDesc setTextColor:TEXT_MIDDLE];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)bindWith:(ShopTable *)shop
{
    [self.labTitle setText:shop.name];
    [self.labDesc setText:shop.address];
}
@end
